import request from '@/utils/request'

// 下载模板
export function downTemplate(params)
{
    return request({
        url: "/importConfig/downTemplate",
        method: 'get',
        responseType: 'blob',
        params
    })
}


//获取导入配置详情
export function getConfigInfoByMC(params)
{
    return request(
        {
            url: "/importConfig/getConfigInfoByMC",
            method: 'get',
            params
        }
    )
}

//获取导出失败数据
export function exportError(params)
{
    return request(
        {
            url: "/importLog/exportError",
            method: 'get',
            responseType: 'blob',
            params
        }
    )
}

//获取导出成功数据
export function exportSuccess(params)
{
    return request(
        {
            url: "/importLog/exportSuccess",
            method: 'get',
            responseType: 'blob',
            params
        }
    )
}